#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# @Project : chat_model 
# @File    : knowledge_file_crud.py
# @IDE     : PyCharm 
# @Author  :ZH
# @Time    : 2025/1/10 16:50
__all__ = ['knowledge_file_crud']

from apps.cruds.crud_base import CRUDBase
from apps.models import KnowledgeFile
from apps.schemas.knowledge_file_schema import CreateKnowledgeFileSchema, UpdateKnowledgeFileSchema


class CRUDKnowledgeFile(CRUDBase[KnowledgeFile, CreateKnowledgeFileSchema, UpdateKnowledgeFileSchema]):
    __doc__ = "知识库文件持久层"


knowledge_file_crud = CRUDKnowledgeFile(KnowledgeFile)
